<%--
  Created by IntelliJ IDEA.
  User: 徐永岳
  Date: 2023/3/16
  Time: 23:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>indext page</title>
</head>
<body>
<h1>indext page</h1>
<form action="/employee" method="post">
    <input type="hidden" name="action" value="sign_in">
    <input type="number" name="id" placeholder="ID" required>
    <br>
    <input type="password" name="password" placeholder="PASSWORD" required>
    <br>
    <input type="submit" value="sign_in">
    <a href="register.jsp">Register</a>
</form>
<hr>
<%--<h1><p style="color: red"><%=session.getAttribute("message")%></p></h1>--%>
<h1><p style="color: red">${sessionScope.message}</p></h1>

<%--<h1><p style="color: red"><%=request.getAttribute("error")%></p></h1>--%>
<h1><p style="color: red">${requestScope.error}</p></h1>



</body>

</html>
